package com.kaifamiao.mybatis.association.mapper;

import com.kaifamiao.mybatis.association.entity.Department;

import java.util.List;

public interface DepartmentMapper {

    // 查找
    Department find( Integer id );

    // 查找
    List<Department> findAll();

    // 保存
    int persist( Department department );

    // 修改
    int update( Department department );

    // 删除
    int remove( Integer id );

}
